import Vue from 'vue'
import VueRouter from 'vue-router';
import Index from '../components'
import Users from '../components/Users'
import Msbd from '../components/Msbd'

Vue.use(VueRouter);

const routes = [
    {
        path: '/',
        component: Index,
        children: [
            {
                path: '',
                component: Users
            }
        ]
    },
    {
        path: '/msbd',
        component: Msbd
    },

]

const router = new VueRouter({
    routes
})

export default router